package com.rom.ratethehell.protocol.tasks;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

import com.rom.ratethehell.entities.Comment;
import com.rom.ratethehell.entities.ServerResponse;
import com.rom.ratethehell.protocol.RequestOrganizer;
import com.rom.ratethehell.protocol.Thumbnail;

import android.content.Context;
import android.net.Uri;

public abstract class SendCommentTask extends SneakAPicTask<ServerResponse>{


	private Comment comment;
	private long picid;


	public SendCommentTask(Context context,long id,Comment comment) {
		super(context);
		this.comment = comment;
		this.picid=id;
	}


	@Override
	protected void doTask() throws Exception {
		setResult(RequestOrganizer.getInstance().sendComment(picid,comment));
	}



}
